﻿using System.Collections.Generic;
using Web.App.Infrastructure.ApplicationMessages.Contracts;

namespace Webshop20.Constants
{

    public static class CONSTANTS
    {

        public static class VALUES
        {
            public const int MAX_LOGIN_ATTEMPTS = 3;
            public const object GUEST_ACCOUNT_ID = null;
            public const bool OPERATION_SUCCESSFUL = true;
            public const bool OPERATION_FAILURE = false;
            public const decimal MINIMUM_ORDER_VALUE = 50;
            public const decimal OPEN_INVOICE_LIMIT = 500;

        }

        public static class ERRORS
        {
            public const string PRECONDITION_ERROR = "PreconditionError";
            public const string ACCOUNT_LOCKED = "AccountLocked";
            public const string LOGIN_FAILURE = "LoginFailure";
            public const string NEW_PASSWORD_CREATION_ERROR = "NewPasswordCreationError";
            public const string INVALID_EMAIL_ADRESS = "InvalidEMailAdress";
            public const string NO_USERNAME_SET = "NoUsernameSet";
            public const string NO_PASSWORD_SET = "NoPasswordSet";
            public const string NO_EMAIL_SET = "NoEMailSet";
            public const string ACCOUNT_NOT_FOUND = "AccountNotFound";
        }

        public static class TEXT
        {
            public const string NEW_PASSWORD_MAIL_SUBJECT = "NewPassword";

        }

        public static class TEMPLATES
        {
            public const string NEW_PASSWORD = "NewPassword";
        }

        public static class KEYS
        {
            public const string NEW_PASSWORD = "NewPassword";
            public const string GUEST_ACCOUNT = "GuestAccount";
            public const string FULLTEXT_SEARCH_ID_FIELD = "Id";
            public const string FULLTEXT_SEARCH_CONTENT_FIELD = "Content";
        }
    }
}
